package pay;

/**
 * 优惠枚举.
 *
 * @author GongXincheng
 * @since 2019-09-13 21:13
 */
public enum YouHuiEnum {

    /**
     * 原价
     */
    YUAN_JIA(1, "原价"),

    /**
     * 6折
     */
    DAZHE_6(2, "6折"),

    /**
     * 9折
     */
    DAZHE_9(3, "9折"),

    /**
     * 满300减20
     */
    MANJIAN_300_20(4, "满300减20"),

    /**
     * 满700减50
     */
    MANJIAN_700_50(5, "满700减50");

    private Integer code;
    private String name;

    YouHuiEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
